import Vue from 'vue'
import Router from 'vue-router'
import user from '@/view/user'
import topic from '@/view/topic'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'user',
      component: user
    },
    {
      path: '/',
      name: 'topic',
      component: topic
    }
  ],
})


